package com.fengwk.user.face.entity;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("令牌表")
public class UsToken implements Serializable {
	
	private static final long serialVersionUID = -193637948625652900L;
	
	@ApiModelProperty("记录id")
	private Long recordId;
	@ApiModelProperty("登录通道")
	private String channel;
	@ApiModelProperty("令牌")
	private String token;
	@ApiModelProperty("用户id")
	private Long userId;
	@ApiModelProperty("登录ip")
	private String loginIp;
	@ApiModelProperty("登录时间")
	private Long loginTime;
	@ApiModelProperty("超时/秒")
	private Integer timeout;

	public static final int TIMEOUT_INVALID = -1;
	
	public Long getRecordId() {
		return recordId;
	}

	public void setRecordId(Long recordId) {
		this.recordId = recordId;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getLoginIp() {
		return loginIp;
	}

	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}

	public Long getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(Long loginTime) {
		this.loginTime = loginTime;
	}

	public Integer getTimeout() {
		return timeout;
	}

	public void setTimeout(Integer timeout) {
		this.timeout = timeout;
	}

}
